home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
301-325
/
disk_319
/
cnewssrc
/
cnews.src.lzh
/
relay
/
msgs.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-07-11
|
550b
|
28 lines
/*
* print common messages
*/
#include <stdio.h>
#ifndef AMIGA
# include <sys/types.h>
#endif /* AMIGA */
#include "news.h"
#include "headers.h"
#include "article.h"
#include "msgs.h"
void fulldisk(art, file) /* complain once & set ST_DISKFULL */
register struct article *art;
char *file;
{
if (!(art->a_status&ST_DISKFULL))
art->a_status |= prfulldisk(file);
}
statust prfulldisk(file) /* complain once & return bad status */
char *file;
{
warning("error writing `%s', probably the disk filled", file);
return ST_DISKFULL|ST_DROPPED;
}